package lib.bone.audit.workload.domain.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lib.bone.access.validator.IsGrade;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author chenggong
 * @date 2023/4/25 14:02
 */
@Data
@ApiModel(value = "教学获奖DTO")
public class AwardImportDTO {

    @ApiModelProperty(value = "奖励名称",notes = "")
    String awardName;

    @ApiModelProperty(value = "奖励等级",notes = "")
    String awardGrade;

    /**
     * 我校署名单位等级：一、二、三
     */
    @IsGrade
    @ApiModelProperty(value = "我校署名单位等级")
    String signatureGrade;

    /**
     * 负责人姓名
     */
    @ApiModelProperty(value = "负责人",notes = "")
    String leader;

    /**
     * 负责人身份证号
     */
    @ApiModelProperty(value = "负责人身份证号",notes = "")
    String cardId;

    /**
     * 获奖日期
     */
    @ApiModelProperty(value = "获奖日期",notes = "获奖日期，如2021/11/16")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    Date awardDate;

    /**
     * 参与成员ID列表
     */
    @ApiModelProperty(value = "参与成员ID列表",notes = "")
    List<Long> userIdList;


    @ApiModelProperty(value = "指定部门名称")
    String deptName;

}
